package com.wbt.bambootown.entity;

/**
 * Created by wufan on 2018/5/22.
 */

public class SignalR {

    /**
     * Status : 0
     * Message : 控制指令执行成功
     * Data : {"controlDeviceId":1,"cmdType":"Stop","success":"1"}
     */

    private int Status;
    private String Message;
    private DataBean Data;

    public int getStatus() {
        return Status;
    }

    public void setStatus(int Status) {
        this.Status = Status;
    }

    public String getMessage() {
        return Message;
    }

    public void setMessage(String Message) {
        this.Message = Message;
    }

    public DataBean getData() {
        return Data;
    }

    public void setData(DataBean Data) {
        this.Data = Data;
    }

    public static class DataBean {
        /**
         * controlDeviceId : 1
         * cmdType : Stop
         * success : 1
         */

        private int controlDeviceId;
        private String cmdType;
        private String success = "";

        public int getControlDeviceId() {
            return controlDeviceId;
        }

        public void setControlDeviceId(int controlDeviceId) {
            this.controlDeviceId = controlDeviceId;
        }

        public String getCmdType() {
            return cmdType;
        }

        public void setCmdType(String cmdType) {
            this.cmdType = cmdType;
        }

        public String getSuccess() {
            return success;
        }

        public void setSuccess(String success) {
            this.success = success;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "controlDeviceId=" + controlDeviceId +
                    ", cmdType='" + cmdType + '\'' +
                    ", success='" + success + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "SignalR{" +
                "Status=" + Status +
                ", Message='" + Message + '\'' +
                ", Data=" + Data +
                '}';
    }
}
